package com.rundatop.yunbian.model;

import java.math.BigDecimal;
import javax.persistence.*;

@Table(name = "user_editor_info")
public class UserEditorInfo {
    @Column(name = "user_id")
    private String userId;

    /**
     * 星级
     */
    private Integer star;

    /**
     * 千字速率
     */
    private Integer speed;

    /**
     * 自身定价
     */
    @Column(name = "self_price")
    private BigDecimal selfPrice;

    /**
     * 平台定价
     */
    @Column(name = "platform_price")
    private BigDecimal platformPrice;

    /**
     * 是否开启接单0关闭1开启
     */
    @Column(name = "is_order_receive")
    private Integer isOrderReceive;

    /**
     * 当前外编工作状态
     */
    @Column(name = "work_status")
    private Integer workStatus;

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取星级
     *
     * @return star - 星级
     */
    public Integer getStar() {
        return star;
    }

    /**
     * 设置星级
     *
     * @param star 星级
     */
    public void setStar(Integer star) {
        this.star = star;
    }

    /**
     * 获取千字速率
     *
     * @return speed - 千字速率
     */
    public Integer getSpeed() {
        return speed;
    }

    /**
     * 设置千字速率
     *
     * @param speed 千字速率
     */
    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    /**
     * 获取自身定价
     *
     * @return self_price - 自身定价
     */
    public BigDecimal getSelfPrice() {
        return selfPrice;
    }

    /**
     * 设置自身定价
     *
     * @param selfPrice 自身定价
     */
    public void setSelfPrice(BigDecimal selfPrice) {
        this.selfPrice = selfPrice;
    }

    /**
     * 获取平台定价
     *
     * @return platform_price - 平台定价
     */
    public BigDecimal getPlatformPrice() {
        return platformPrice;
    }

    /**
     * 设置平台定价
     *
     * @param platformPrice 平台定价
     */
    public void setPlatformPrice(BigDecimal platformPrice) {
        this.platformPrice = platformPrice;
    }

    /**
     * 获取是否开启接单0关闭1开启
     *
     * @return is_order_receive - 是否开启接单0关闭1开启
     */
    public Integer getIsOrderReceive() {
        return isOrderReceive;
    }

    /**
     * 设置是否开启接单0关闭1开启
     *
     * @param isOrderReceive 是否开启接单0关闭1开启
     */
    public void setIsOrderReceive(Integer isOrderReceive) {
        this.isOrderReceive = isOrderReceive;
    }

    /**
     * 获取当前外编工作状态
     *
     * @return work_status - 当前外编工作状态
     */
    public Integer getWorkStatus() {
        return workStatus;
    }

    /**
     * 设置当前外编工作状态
     *
     * @param workStatus 当前外编工作状态
     */
    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }
}